package week3;

import java.util.Scanner;
import java.util.Random;

public class PP0301 {
    public static void main(String[] args) {
        String firstname,lastname,head1,head2;
        int Num;

        Random num = new Random();
        Scanner scan = new Scanner(System.in);

        System.out.println("Enter yr first name: ");
        firstname = scan.nextLine();

        System.out.println("Enter yr last name: ");
        lastname = scan.nextLine();

        head1 = firstname.substring(0,1);
        head2 = lastname.substring(0,5);

        Num = num.nextInt(90) +10;

        System.out.println(head1 + head2 + Num);
    }
}
